﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: AdZoneEntity.cs
// 修改时间：2020-9-8 10:39:54
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：AdZone 的实体类.
	/// </summary>
	[Table("AdZone")]
	public partial class AdZoneEntity
	{
		#region Properties
		private int? _zoneID = 0;
		/// <summary>
		/// 版位ID(主键)
		/// </summary>
		[Column("ZoneID",TypeName="int")]
		[Key]
		public int? ZoneID
		{
			get {return _zoneID;}
			set {_zoneID = value;}
		}
		
		private System.String _zoneName = string.Empty;
		/// <summary>
		/// 版位名称
		/// </summary>
		[Column("ZoneName",TypeName="nvarchar(100)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ZoneName
		{
			get {return _zoneName;}
			set {_zoneName = value;}
		}
		
		private System.String _zoneJSName = string.Empty;
		/// <summary>
		/// 版位JS文件名
		/// </summary>
		[Column("ZoneJSName",TypeName="nvarchar(100)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ZoneJSName
		{
			get {return _zoneJSName;}
			set {_zoneJSName = value;}
		}
		
		private System.String _zoneIntro = string.Empty;
		/// <summary>
		/// 版位简介
		/// </summary>
		[Column("ZoneIntro",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ZoneIntro
		{
			get {return _zoneIntro;}
			set {_zoneIntro = value;}
		}
		
		private int? _zoneType = 0;
		/// <summary>
		/// 版位广告显示类型
		/// </summary>
		[Column("ZoneType",TypeName="int")]
		public int? ZoneType
		{
			get {return _zoneType;}
			set {_zoneType = value;}
		}
		
		private System.Boolean _isDefaultSetting = false;
		/// <summary>
		/// 是否默认设置
		/// </summary>
		[Column("IsDefaultSetting",TypeName="bit")]
		public System.Boolean IsDefaultSetting
		{
			get {return _isDefaultSetting;}
			set {_isDefaultSetting = value;}
		}
		
		private System.String _zoneSetting = string.Empty;
		/// <summary>
		/// 版位设置参数
		/// </summary>
		[Column("ZoneSetting",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String ZoneSetting
		{
			get {return _zoneSetting;}
			set {_zoneSetting = value;}
		}
		
		private int? _zoneWidth = 0;
		/// <summary>
		/// 版位的宽度
		/// </summary>
		[Column("ZoneWidth",TypeName="int")]
		public int? ZoneWidth
		{
			get {return _zoneWidth;}
			set {_zoneWidth = value;}
		}
		
		private int? _zoneHeight = 0;
		/// <summary>
		/// 版位的高度
		/// </summary>
		[Column("ZoneHeight",TypeName="int")]
		public int? ZoneHeight
		{
			get {return _zoneHeight;}
			set {_zoneHeight = value;}
		}
		
		private System.Boolean _isActive = false;
		/// <summary>
		/// 是否活跃
		/// </summary>
		[Column("IsActive",TypeName="bit")]
		public System.Boolean IsActive
		{
			get {return _isActive;}
			set {_isActive = value;}
		}
		
		private int? _showType = 0;
		/// <summary>
		/// 版位显示的类型
		/// </summary>
		[Column("ShowType",TypeName="int")]
		public int? ShowType
		{
			get {return _showType;}
			set {_showType = value;}
		}
		
		private DateTime? _updateTime = null;
		/// <summary>
		/// 添加版位的时间
		/// </summary>
		[Column("UpdateTime",TypeName="datetime")]
		public DateTime? UpdateTime
		{
			get {return _updateTime;}
			set {_updateTime = value;}
		}
		
		#endregion
	}
}
